package com.xiaozhen.blog.utils;

/**
 * @create 2023-04-23 21:16
 * 激活状态常量
 */
public interface CommunityConstant {
    /*激活成功*/
    int ACTIVATION_SUCCESS = 0;
    /*重复激活*/
    int ACTIVATION_REFEAT = 1;
    /*激活失败*/
    int ACTIVATION_FAILURE = 2;

    /*默认状态的超时时间*/
    int DEFAULT_EXPIRED_SECONDE = 3600 * 12;

    /*记住我状态的超时时间*/
    int REMEMBER_EXPIRED_SECONDE = 3600 * 24 * 100;

    /*实体类型，帖子*/
    int ENTITY_TYPE_POST = 1;

    /*实体类型，评论*/
    int ENTITY_TYPE_COMMENT = 2;

    /*实体类型，用户*/
    int ENTITY_TYPE_USER = 3;

    /*主题：评论*/
    String TOPIC_COMMENT = "comment";

    /*主题：点赞*/
    String TOPIC_LIKE = "like";

    /*主题：分享*/
    String TOPIC_SHARE = "share";

    /*主题：关注*/
    String TOPIC_FOLLOW = "follow";

    /*系统用户id*/
    int SYSTEM_USER = 1;

    /*主题：发帖*/
    String TOPIC_PUBLISH = "publish";

    //    主题：新帖列表中置顶
    String TOPIC_TOPINNEW = "toinnew";

    //    主题：取消置顶
    String TOPIC_UNTOP = "untop";

    /*主题：删帖*/
    String TOPIC_DELETE = "delete";

    /*权限：普通用户*/
    String AUTHORITY_USER = "user";

    /*权限：管理员*/
    String AUTHORITY_ADMIN = "admin";

    /*权限：版主*/
    String AUTHORITY_MODERATOR = "moderator";
}
